﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestClassLibrary
{
    public class AnotherBaseObject
    {
       protected internal string color = "red";
    }

    public class TestClass : AnotherBaseObject
    {
        public void PrintInfo()
        {
            Console.WriteLine(color);
        }
    }

    public class AnotherTestClass
    {
        public void TestMethod()
        {
            AnotherBaseObject obj = new AnotherBaseObject();
            Console.WriteLine(obj.color);
        }
    }
}
